package cn.com.acca.ma.common.util;

import junit.framework.Assert;

import org.junit.Test;


public class FileUtilTest {
	
	public static void main(String[] arg){
		FileUtil.deleteFile("D:\\backup-dir\\tdm\\dmp_file\\STOCK_MOVING_AVERAGE\\STOCK_MOVING_AVERAGE-20150923.json");
		//FileUtil.deleteDirectory("D:\\backup-dir\\tdm\\dmp_file\\STOCK_MOVING_AVERAGE\\STOCK_MOVING_AVERAGE-20150923.json");
	}

	@Test
	public void testDeleteFolder(){
		Assert.assertTrue(FileUtil.deleteDirectory("D:\\test"));
	}
}
